package Dispatcher;

/**
 * Receives the message from the dispatcher ands handles it
 * 
 * @author Varun Maryada, Sanat Dixit, Steve Tannahill
 * 
 */
public class HandleReceivedMsgThread extends Thread {
	GroupDispatcher gd;
	String Msg;
	int loops;

	public HandleReceivedMsgThread(GroupDispatcher gd, String Msg) {
		this.gd = gd;
		this.Msg = Msg;
	}

	@Override
	public void run() {
		gd.handle(this.Msg);
	}
}